package com.ihr360.payroll.dao;

import com.ihr360.payroll.model.dto.salary.basecode.SalaryFieldType;
import com.ihr360.rest.reposity.SimpleRestReposity;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;

@RepositoryRestResource
public interface SalaryFieldTypeRepository extends SimpleRestReposity<SalaryFieldType,Long>{

    SalaryFieldType findById(Long id);

    SalaryFieldType findByCode(String salary);

    SalaryFieldType findByIndexno(int indexno);
}
